﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BlazeNotes.Core
{
    class DBManager
    {
        public void UpdateNote(Note note)
        {
            using (var context = new DbNotesContext())
            {
                context.Notes.Add(note);
                context.SaveChanges();
            }
        }
    }
}
